<template>
  <div>
    <el-form ref="form" v-model="form" class="accountSearchForm">
      <el-row class="search">
        <el-col :span="8"><el-input v-model="form.account" placeholder="帐号" size="small" /></el-col>
        <el-col :span="8">
          <el-select v-model="form.relo" placeholder="请选择活动区域" size="small">
            <el-option label="区域一" value="shanghai" />
            <el-option label="区域二" value="beijing" />
          </el-select>
        </el-col>
        <el-button type="primary" size="small">查询</el-button>
      </el-row>
      <el-row>
        <el-col :span="8"><el-input v-model="form.userName" placeholder="用户名" size="small" /></el-col>
        <el-col :span="8">
          <el-select v-model="form.freeze" placeholder="请选择活动区域" size="small">
            <el-option label="区域一" value="shanghai" />
            <el-option label="区域二" value="beijing" />
          </el-select>
        </el-col>
        <el-button type="primary" size="small">重置</el-button>
      </el-row>
    </el-form>
  </div>
</template>

<script>
export default {
  name: 'AccountSearch',
  data() {
    return {
      form: {
        account: '',
        relo: '',
        userName: '',
        freeze: ''
      }
    }
  }
}
</script>

<style lang="stylus" scoped>
  .accountSearchForm >>> .el-select
      width 100%
      padding 0 2% 0 4%
  .accountSearchForm
    margin 0 20px
    .search
      margin 20px 0
</style>
